import OrderIndex from '@/components/order/index.vue'
import OrderInfo from '@/components/order/info.vue'


// 路由结构
const list = [
    {
        path: 'index',
        name: 'OrderIndex',
        component: OrderIndex,
        meta: { IsLogin: true }
    }, {
        path: 'info',
        name: 'OrderInfo',
        component: OrderInfo,
        meta: { IsLogin: true }
    },
]

// 父路由结构
const layout = {
    template: `<router-view></router-view>`
}

export default [
    {
        name: 'order',
        path: '/order',
        component: layout,
        children: list
    }
]
